package com.wjs.gulimall.gulimallproduct.service;

import com.atguigu.common.utils.PageUtils;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjs.gulimall.gulimallproduct.VO.AttrGroupWithAttrVo;
import com.wjs.gulimall.gulimallproduct.VO.SpuItemAttrGroupVo;
import com.wjs.gulimall.gulimallproduct.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author wangjingsong
 * @email wangjingsong@gmail.com
 * @date 2022-04-17 15:11:00
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params,Long catelogId);

    List<AttrGroupWithAttrVo> getGroupWithAttr(Long catelogId);

    List<SpuItemAttrGroupVo> getgroupwithAttrsBySpuId(Long spuId, Long catalogId);
}

